﻿<Page x:Class="Framework_Tool.CourseDelete"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="547" d:DesignWidth="1042"
	Title="CourseDelete">

    <Grid Name="mainContent" Loaded="mainContent_Loaded_1">
        <Border BorderBrush="#FF311E51" BorderThickness="3" CornerRadius="30" Width="1042" Height="547" VerticalAlignment="Top" HorizontalAlignment="Left">
            <Grid>
                <Border Name="mask" CornerRadius="27" >
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF311E51" Offset="0"/>
                            <GradientStop Color="#FF594F6B" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                </Border>
                <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Margin="70,0,0,0" VerticalAlignment="Top" Width="874">
                    <Button Margin="0,0,25,0" x:Name="viewCourseBtn" Content="View" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="viewCourseBtn_Click_1" />
                    <Button Margin="0,0,25,0" x:Name="addCourseBtn" Content="Add" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="addCourseBtn_Click_1"/>
                    <Button Margin="0,0,25,0" x:Name="updateCourseBtn" Content="Update" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right"  FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="updateCourseBtn_Click_1" />
                    <Button Margin="0,0,25,0" x:Name="deleteCourseBtn" Content="Delete" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
                    <Button Margin="0,0,25,0" x:Name="searchCourseBtn" Content="Search" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right"  FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="searchCourseBtn_Click_1" />
                </StackPanel>
                <Label x:Name="deleteCrse" Content="Delete Course" Margin="70,65,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="20" RenderTransformOrigin="-0.551,0.513" FontWeight="Bold" />
                <Label x:Name="crseID" Content="Course ID" Margin="70,130,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" RenderTransformOrigin="-0.551,0.513" FontSize="14" />
                <ComboBox x:Name="crseIDCmbx" HorizontalAlignment="Left" Height="25" VerticalAlignment="Top" Width="200" FontSize="14" Margin="200,130,0,0" SelectionChanged="crseIDCmbx_SelectionChanged_1" />
                <Label x:Name="crseTitle" Content="Course Title" Margin="70,165,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" Width="98" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="crseTitleTxt" Margin="200,165,0,0" HorizontalAlignment="Left" Height="25" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" FontSize="14" BorderBrush="{x:Null}" Background="Transparent" IsEnabled="False" />
                <Label x:Name="crseLevel" Content="Level" Margin="70,235,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="crseLevelTxt" HorizontalAlignment="Left" Height="25" Margin="200,235,0,0" VerticalAlignment="Top" Width="200" IsEnabled="False" />
                <Label x:Name="crseLeaderName" Content="Course Leader" Margin="70,295,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="crseLeaderNameTxt_Delete" IsEnabled="False" HorizontalAlignment="Left" Height="25" Margin="200,295,0,0" VerticalAlignment="Top" Width="200" />
                <Label x:Name="crseLeaderID" Content="Course Leader ID" Margin="70,330,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <Label x:Name="crseLeaderIDLbl" Margin="200,330,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" FontWeight="Bold" />
                <Label x:Name="crsePreReq" Content="Course Pre-Requisites" Margin="480,100,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" Width="199" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="crsePreReqTxt" Margin="480,130,0,0" HorizontalAlignment="Left" Height="200" TextWrapping="Wrap" VerticalAlignment="Top" Width="500" FontSize="14" BorderBrush="{x:Null}" Background="Transparent" IsEnabled="False" />
                <Grid Margin="100,470,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="crseDeletedLblGrid" Visibility="Hidden">
                    <Border HorizontalAlignment="Left" Width="350" CornerRadius="15" Background="#FFF5E06B" />
                    <Label x:Name="crseDeletedLbl" Foreground="#FF311E51" Width="350" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="20" FontWeight="Bold" FontStyle="Italic" HorizontalContentAlignment="Center" />
                </Grid>
                <Grid Margin="600,450,195,30" VerticalAlignment="Bottom" HorizontalAlignment="Right">
                    <Border BorderBrush="#FF28B5D3" BorderThickness="1" Height="50"  Width="240" CornerRadius="12">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF28B5D3" Offset="0.406"/>
                                <GradientStop Color="White"/>
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Button Content="Delete Course" x:Name="crseDelete" FontSize="25" Height="50" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White" Width="240" Click="crseDelete_Click_1" />
                </Grid>
                <Grid Margin="0,0,50,30" VerticalAlignment="Bottom" HorizontalAlignment="Right">
                    <Border BorderBrush="#FFC8C8C8" BorderThickness="1" HorizontalAlignment="Right" Height="50"  Width="130" CornerRadius="12">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFC8C8C8" Offset="0.406"/>
                                <GradientStop Color="White"/>
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Button Content="Cancel" x:Name="cancelCrseDelete"  FontSize="25" Height="50" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="Black" Width="130" Click="cancelCrseDelete_Click_1" />
                </Grid>
            </Grid>
        </Border>
    </Grid>
</Page>
